package com.order.feign.interceptor;

import feign.RequestInterceptor;
import feign.RequestTemplate;
import org.springframework.stereotype.Component;


@Component
public class StorageServiceFeignClientInterceptor implements RequestInterceptor {
    @Override
    public void apply(RequestTemplate requestTemplate) {
        System.out.println("Applying interceptor for StorageServiceFeignClient");
        System.out.println("we can do something here, like adding headers or logging");
    }
}
